<script lang="ts">
export default {
  name: "XHomePage",
};
</script>
<script setup lang="ts">
import { ref } from "vue";
const list=ref<any>([])
const data = [
        {
            "SectorName": "Sector",
            "Activities": "Principal Activities",
            "ShareHolder": "Major Shareholders",
            "LinkWarrantStr": "Linked Warrants",
            "RelatedCodeStr": "Related Equities",
            "InetAddr": "Web Site",
            "Email": "Email",
            "TelNo": "Tel",
            "FaxNo": "Fax",
            "_header": "1"
        },
        {
            "SectorName": "Technology",
            "Activities": "Principally engaged in the provision of Value-added Services (“VAS”), Online Advertising services and FinTech and Business Services.",
            "ShareHolder": "Prosus N.V. (25.63%)<br>MA Huateng (8.42%)",
            "LinkWarrantStr": "11144 11154 11172 11207 11311 11322 11467 11521 11767 11773 11800 11803 11804 11867 11871 11879 11893 11896 11910 12138 12162 12211 12224 12232 12287 12293 12320 12321 12324 12418 12530 12617 12684 12707 12719 12843 12855 12866 12917 12918 12981 12987 13058 13089 13105 13162 13166 13186 13217 13235 13246 13343 13352 13366 13386 13398 13431 13530 13576 13586 13668 13677 13701 13717 13757 13769 13871 13889 13905 13934 13952 13965 13969 14000 14112 14157 14171 14188 14216 14272 14302 14352 14356 14359 14363 14367 14376 14377 14390 14429 14486 14499 14514 14555 14564 14566 14631 14740 14741 14753 14808 14900 14959 14961 14991 14995 15000 15005 15035 15046 15047 15120 15124 15169 15174 15209 15234 15248 15311 15315 15384 15392 15397 15422 15423 15426 15441 15448 15470 15493 15501 15502 15504 15526 15527 15536 15550 15561 15566 15577 15584 15588 15589 15594 15598 15605 15606 15623 15636 15643 15650 15651 15653 15655 15659 15666 15668 15680 15681 15685 15686 15754 15766 15809 15823 15829 15934 15978 15990 16004 16028 16067 16078 16313 16331 16367 16380 16403 16407 16411 16435 16457 16461 16489 16500 16509 16531 16561 16595 16601 16609 16610 16615 16617 16667 16714 16727 16728 16740 16747 16749 16750 16758 16759 16802 16803 16819 16822 16847 16850 16875 16881 16893 16896 16897 16899 16911 16918 16923 16926 16940 16943 16946 16965 16987 16992 17006 17007 17029 17031 17037 17050 17060 17088 17096 17103 17188 17189 17210 17228 17229 17252 17288 17296 17297 17302 17331 17343 17344 17347 17349 17351 17360 17363 17365 17372 17373 17408 17410 17417 17426 17428 17433 17434 17436 17437 17439 17440 17442 17446 17447 17449 17494 17502 17503 17540 17558 17578 17581 17585 17587 17590 17598 17599 17603 17609 17618 17628 17672 17683 17693 17739 17740 17761 17768 17776 17800 17801 17806 17807 17816 17836 17837 17841 17857 17860 17862 17867 17870 17871 17876 17877 17879 17887 17890 17895 17918 17924 17925 17934 17938 17962 17980 17984 17990 18037 18038 18057 18067 18077 18080 18081 18084 18116 18132 18148 18154 18155 18170 18184 18252 18257 18260 18261 18262 18269 18270 18271 18277 18278 18283 18306 18324 18326 18334 18342 18350 18355 18362 18365 18373 18374 18384 18385 18397 18402 18431 18434 18437 18457 18467 18481 18495 18499 18520 18521 18524 18528 18553 18557 18588 18597 18598 18605 18639 18657 18676 18710 18718 18762 18775 18786 18789 18798 18844 18875 18876 18916 18917 18918 18939 18945 18964 18982 18988 18993 19098 19099 19121 19126 19133 19137 19149 19156 19173 19178 19183 19217 19218 19225 19226 19234 19275 19288 19336 19337 19342 19348 19369 19391 19392 19396 19427 19428 19438 19452 19481 19485 19508 19509 19532 19536 19554 19556 19557 19558 19566 19570 19572 19578 19587 19600 19601 19603 19612 19631 19643 19646 19652 19667 19668 19674 19675 19722 19725 19731 19732 19768 19779 19789 19790 19804 19818 19826 19835 19846 19847 19853 19854 19877 19898 19904 19913 19915 19925 19935 19939 19996 19999 20180 20184 20209 20308 20353 20354 20386 20399 20409 20436 20707 21125 21796 22107 22154 25912 25995 26119 26213 26240 26306 26594 26649 26787 26857 26987 27057 27062 27071 27219 27246 27247 27313 27425 27426 27693 27956 28227 28282 28332 28395 28513 28568 28576 28599 28610 28647 28992 29075 29095 29219 29316 29693 29703 29704 50057 50099 50169 50431 50559 50590 50591 50592 50604 50606 50637 50663 50668 50673 50675 50676 50680 50710 50775 50799 50805 50812 50832 50881 50901 50912 50929 50943 50950 50984 51024 51035 51036 51046 51049 51087 51089 51090 51092 51117 51118 51119 51120 51126 51155 51180 51219 51236 51254 51255 51268 51270 51271 51283 51291 51292 51304 51306 51307 51381 51394 51400 51406 51420 51422 51424 51461 51476 51493 51494 51514 51557 51578 51602 51618 51635 51653 51672 51683 51684 51744 51766 51797 51813 51814 51818 51833 51983 52023 52043 52125 52180 52287 52328 52398 52575 52577 52658 52679 52714 52715 52717 52737 52738 52764 52770 52776 52778 52901 52944 52945 52981 52985 52989 52990 53012 53013 53230 53237 53549 53596 53597 53672 53695 53843 53866 53907 53919 53963 53968 53990 53993 54012 54024 54026 54037 54054 54101 54112 54118 54137 54165 54174 54199 54237 54240 54254 54263 54267 54283 54284 54308 54912 55391 55392 55425 55797 55801 55802 55852 55964 56029 56150 56201 56258 56259 56364 56441 56553 57017 58883 59132 59135 59141 59190 59457 59514 59595 59642 59664 59708 59723 59815 59817 59818 59819 59820 59847 59873 59889 59901 59928 59977 59982 59992 60022 60160 60208 60216 60317 60431 60517 60578 60584 60653 60720 60762 60799 60842 60916 60944 60962 61041 61043 61082 62288 62380 62734 62899 62938 62946 62947 62952 63012 63050 63106 63110 63112 63349 63350 63733 64242 64243 64245 64246 64359 64370 64640 64764 64796 64824 64883 64884 64885 65047 65048 65093 65097 65098 65137 65155 65156 65253 65257 65269 65271 65273 65298 65331 65332 65340 65374 65394 65454 65458 65459 65480 65520 65526 65539 65540 65561 65563 65564 65617 65664 65665 65739 65753 65778 65819 65836 65997 66806 66955 66977 67081 67145 67196 67199 67232 67244 67250 67251 67348 67349 67407 67874 68337 68386 68399 68466 68474 68556 68669 68713 68807 68842 68843 68849 68934 69092 69138 69154 69175 69203 69383 69386 69432 69433 69450 69468 69583 69608 69609 69671 69867",
            "RelatedCodeStr": "00314 00772 00780 01698 02858 80700",
            "InetAddr": "http://www.tencent.com",
            "Email": "ir@tencent.com",
            "TelNo": "(852) 3929-1666",
            "FaxNo": "NA"
        }
    ]
const arr:any=[]
delete data[0]["_header"]
data.forEach((item:any,index:number)=>{
 !index&& Object.values(item).forEach((one:any)=>{
    arr.push({one})
  })
  index&& Object.values(item).forEach((two:any,index2:number)=>{
    arr[index2].two=two
  })
})
list.value=arr
</script>

<template>
  <div>
    <el-table :data="list" :show-header="false" width="100%">
      <el-table-column >
        <template v-slot="{ row }">
          {{ row.one }}
        </template>
      </el-table-column>
      <el-table-column >
        <template v-slot="{ row }">
          {{ row.two }}
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<style lang="less" scoped></style>
